package com.fishery.logistics.mapper;

import com.fishery.logistics.entity.Station;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fishery.logistics.entity.vo.StationVo;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author run
 * @since 2021-01-23
 */
public interface StationMapper extends BaseMapper<Station> {

    @Select("SELECT id, logistics_station_address, logistics_station_longitude, logistics_station_latitude" +
            ", logistics_station_type, phone_number FROM t_logistics_station WHERE id = #{stationId}")
    public StationVo getStationVoById(String stationId);
}
